package sy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import sy.dao.IotPatrolURIProjectMappingDaoI;
import sy.model.IotPatrolURIProjectMapping;
import sy.service.IotPatrolURIProjectMappingServiceI;
@Service("iotPatrolURIProjectMappingService")
public class IotPatrolURIProjectMappingServiceImpl implements IotPatrolURIProjectMappingServiceI{
	@Autowired
	IotPatrolURIProjectMappingDaoI iotPatrolURIProjectMappingDao;

	@Override
	public void save(IotPatrolURIProjectMapping iotPatrolURIProjectMapping) {
		// TODO Auto-generated method stub
		iotPatrolURIProjectMappingDao.save(iotPatrolURIProjectMapping);
	}

	@Override
	public void update(IotPatrolURIProjectMapping iotPatrolURIProjectMapping) {
		// TODO Auto-generated method stub
		iotPatrolURIProjectMappingDao.update(iotPatrolURIProjectMapping);
	}

	@Override
	public void delete(List<Integer> ids) {
		// TODO Auto-generated method stub
		iotPatrolURIProjectMappingDao.delete(ids);
	}

	@Override
	public List<IotPatrolURIProjectMapping> list() {
		// TODO Auto-generated method stub
		return iotPatrolURIProjectMappingDao.list();
	}

	@Override
	public List<IotPatrolURIProjectMapping> listIotPatrolURIProjectMappingByKey(
			String key) {
		// TODO Auto-generated method stub
		return iotPatrolURIProjectMappingDao.listIotPatrolURIProjectMappingByKey(key);
	}

	@Override
	public IotPatrolURIProjectMapping getIotPatrolURIProjectMappingById(
			Integer id) {
		// TODO Auto-generated method stub
		return iotPatrolURIProjectMappingDao.getIotPatrolURIProjectMappingById(id);
	}

}
